package io.renren.service;

import io.renren.entity.YwRewardEntity;

import java.util.List;
import java.util.Map;

/**
 * 奖惩管理
 * 
 * @author zhangheng
 * @email zh_123shmily@163.com
 * @date 2017-07-20 14:52:50
 */
public interface YwRewardService {
	
	YwRewardEntity queryObject(String id);
	
	List<YwRewardEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(YwRewardEntity ywReward);
	
	void update(YwRewardEntity ywReward);
	
	void delete(String id);
	
	void deleteBatch(String[] ids);
}
